{block name='content'}
<form class="layui-form layui-card" lay-filter="lay_form" action="{:request()->url()}" data-auto="true" method="post" autocomplete="off">
    <div class="layui-card-body padding-40">
        <div class="layui-form-item layui-row layui-col-space15">
            <label class="layui-col-xs12 block relative">
                <span class="color-green label-required-prev">柜点分成比例</span><span class="margin-left-5 color-desc">Share ratio</span>
                <input class="layui-input" name="share_ratio" required value="{$vo.share_ratio|default=''}" placeholder="请输入柜点分成比例">
            </label>
        </div>

        <div class="hr-line-dashed"></div>
        {notempty name='vo.id'}<input type='hidden' value='{$vo.id}' name='id'>{/notempty}

        <div class="layui-form-item text-center">
            {if $title!="查看柜点"}
            <button class="layui-btn" lay-submit lay-filter="submit">保存数据</button>
            <button class="layui-btn layui-btn-danger" type='button' data-close="">取消编辑</button>
            {/if}
        </div>

    </div>

</form>
{/block}